package main;

import java.awt.*;
import java.util.ArrayList;
import terrain.*;

public class Board {
	public int inchHeight; // height and width in inches
	public int inchWidth;
	
	public int pixelHeight;
	public int pixelWidth;
	
	public Image background = null;
	
	public ArrayList<Terrain> terrainList;
	
	public Game game;
	
	public Board(int inchWidth, int inchHeight) {
		this.inchHeight = inchHeight;
		this.inchWidth = inchWidth;
		this.pixelHeight = inchHeight*Utils.pixelsPerInch;
		this.pixelWidth = inchWidth*Utils.pixelsPerInch;
		
		this.terrainList = new ArrayList<Terrain>();
	}
	
	public void addTerrain(Terrain t){
		this.terrainList.add(t);
		t.board = this;
	}
	
}